package com.alibaba.cloud.medicine.dao;

import com.alibaba.cloud.medicine.entity.MedItem;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface MedItemMapper extends BaseMapper<MedItem> {

    int deductStock(@Param("medCode") String medCode, @Param("medStock") Integer medStock);
}
